fix: add schema name to datasource field in chart list#11278
fix: add schema name to datasource field in chart list#11278nytai merged 3 commits intoapache:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11278 +/- ##
==========================================
- Coverage 65.43% 55.96% -9.48%
==========================================
Files 831 404 -427
Lines 39528 13410 -26118
Branches 3598 3392 -206
==========================================
- Hits 25866 7505 -18361
+ Misses 13553 5723 -7830
- Partials 109 182 +73
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
etr2460
left a comment
There was a problem hiding this comment.
thanks for the quick fix! one comment (non-blocking)
superset/models/slice.py
Outdated
| if self.table.schema: | ||
| return f"{self.table.schema}.{self.table.table_name}" | ||
| return self.table.table_name | ||
| datasource = self.datasource |
There was a problem hiding this comment.
any reason why we have this here if we're not handling self.table the same way?
I don't really care which we do, but let's be consistent (either table and datasource or self.table and self.datasource)
There was a problem hiding this comment.
looks like most methods in this model share this inconsistency 😕
SUMMARY
see title and linked ticket
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION